<?php
use yii\helpers\Html;
use yii\helpers\Url;
?>
<?= Html::cssFile('@web/css/show.css')?>
<script charset="utf-8" src="kindeditor/kindeditor.js"></script>
<script charset="utf-8" src="kindeditor/lang/zh_CN.js"></script>
<div class="content">
    <div class="box">
        <?php if($data['firm']):?>
            <p><span>公司名称或个人名称&nbsp;|&nbsp;</span><?= $data['firm'];?></p>
        <?php endif;?>
        <?php if($data['name']):?>
            <p><span>经办人姓名&nbsp;|&nbsp;</span><?= $data['name'];?></p>
        <?php endif;?>
        <?php if($data['postcode']):?>
            <p><span>邮政编码&nbsp;|&nbsp;</span><?= $data['postcode'];?></p>
        <?php endif;?>
        <?php if($data['phone']):?>
            <p><span>联系电话&nbsp;|&nbsp;</span><?= $data['phone'];?></p>
        <?php endif;?>
        <?php if($data['email']):?>
            <p><span>联系邮箱&nbsp;|&nbsp;</span><?= $data['email'];?></p>
        <?php endif;?>
        <?php if($data['location']):?>
            <p><span>联系地址&nbsp;|&nbsp;</span><?= $data['location'];?></p>
        <?php endif;?>
        <?php if($data['content']):?>
            <p><span>咨询内容&nbsp;|&nbsp;</span><?= $data['content'];?></p>
        <?php endif;?>
        <?php if($data['info']):?>
            <p><span>备注&nbsp;|&nbsp;</span><?= $data['info'];?></p>
        <?php endif;?>
        <p><span>时间&nbsp;|&nbsp;</span><?= date('Y-m-d',$data['time']);?></p>
        <a class="submit" href="<?= Url::to(['/join/index']);?>">返回</a>
    </div>
</div>
